import Taro from "@tarojs/taro"


const getToken = () => new Promise(resolve => {
    Taro.getStorage({
        key: "token",
        success: (res) => {
            resolve(res.data)
        },
        fail() {
            resolve("")
        },
        
    })
})
export default getToken